<extend name="Template/index"/>
<block name="title">
   系统消息
</block>
<block name="carousel"></block>

<block name="nav-pos">
<span class="glyphicon glyphicon-home"></span>
    <li>您当前所在位置 ：</li>
	<li><a href="{:U('personalCenter/index')}">个人中心</a></li>
    <li>系统消息</li>
</block>
<block name="main">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/personalCenter.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/systemMessage.css"/>
		<div id="main">
			<div class="main">
				<div id="personalCenterDetails">
					<div id="personalCenter">
                        <foreach name="data" item="val">

                            <div class="list-group">

                              <a href="{:U('personalCenter/systemMessage_details')}?mes_id={$val.mes_id}" class="list-group-item active">
                                <h4 class="list-group-item-heading">{$val.mes_title}<if condition="$val['mes_state'] eq 0"> <span style="font-size:10px;width:25px;display:block;float:right;">未读</span></if></h4>
                                <p class="list-group-item-text">{$val.mes_content}</p>
                                <div class="time">{$val.mes_time|date="Y-m-d H:i:s",###}
								<a href="{:U('personalCenter/delsystemMessage')}?mes_id={$val.mes_id}"><span>删除</span></a>
								</div>
								
                              </a>
							  

                            </div>
                        </foreach>
                    </div>
                     <div class="page">
                        {$page}
                      </div>
				</div>
			</div>
		</div>

</block>
